﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MountSilverLibraryRemake
{
    public partial class LibraryStageSelect : Form
    {
        Trans trans;
        public LibraryStageSelect()
        {
            InitializeComponent();
        }
        public LibraryStageSelect(ref Trans trans)
        {
            InitializeComponent();
            this.trans = trans;
            this.trans.setStage(0);
        }

        private void btnCheckLibrary_Click(object sender, EventArgs e)
        {
            trans.setStage(1);
            this.Close();
        }

        private void btnAccessSale_Click(object sender, EventArgs e)
        {
            trans.setStage(2);
            this.Close();
        }

        private void quit_Click(object sender, EventArgs e)
        {
            trans.setReloginFlag(1);
            trans.setStage(-1);
            this.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            trans.setStage(555);
            this.Close();
        }
    }
}
